mpy gives keeps raising error because of Protocol